[INFO] fetching crate pallet-democracy 9.0.0...
[INFO] checking pallet-democracy-9.0.0 against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] extracting crate pallet-democracy 9.0.0 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate pallet-democracy 9.0.0 on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pallet-democracy 9.0.0
[INFO] finished tweaking crates.io crate pallet-democracy 9.0.0
[INFO] tweaked toml for crates.io crate pallet-democracy 9.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pallet-balances v9.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dde86097585a580a4a2bb2bd99098c8e914cc02b9f24c8daea593e8e0e79682b
[INFO] running `Command { std: "docker" "start" "-a" "dde86097585a580a4a2bb2bd99098c8e914cc02b9f24c8daea593e8e0e79682b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dde86097585a580a4a2bb2bd99098c8e914cc02b9f24c8daea593e8e0e79682b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dde86097585a580a4a2bb2bd99098c8e914cc02b9f24c8daea593e8e0e79682b", kill_on_drop: false }`
[INFO] [stdout] dde86097585a580a4a2bb2bd99098c8e914cc02b9f24c8daea593e8e0e79682b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bac9b791c8d8c7ae6f875d71cde27a2aa9b03e29155c54325d0cee6d7e3e8cdc
[INFO] running `Command { std: "docker" "start" "-a" "bac9b791c8d8c7ae6f875d71cde27a2aa9b03e29155c54325d0cee6d7e3e8cdc", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]    Compiling serde v1.0.152
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling once_cell v1.17.0
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]     Checking arrayvec v0.7.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking byte-slice-cast v1.2.2
[INFO] [stderr]     Checking bytes v1.3.0
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking block-buffer v0.10.3
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking digest v0.10.6
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling target-lexicon v0.12.5
[INFO] [stderr]    Compiling io-lifetimes v0.7.5
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]     Checking gimli v0.26.2
[INFO] [stderr]    Compiling rustix v0.35.13
[INFO] [stderr]     Checking sp-std v6.0.0
[INFO] [stderr]    Compiling wasmtime-runtime v1.0.2
[INFO] [stderr]     Checking tracing-core v0.1.30
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling cpp_demangle v0.3.5
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling libm v0.2.6
[INFO] [stderr]     Checking linux-raw-sys v0.0.46
[INFO] [stderr]    Compiling libsecp256k1-core v0.3.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]     Checking wasmtime-jit-debug v1.0.2
[INFO] [stderr]     Checking wasmtime-asm-macros v1.0.2
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]    Compiling ref-cast v1.0.14
[INFO] [stderr]    Compiling regex v1.7.1
[INFO] [stderr]    Compiling serde_json v1.0.91
[INFO] [stderr]     Checking keccak v0.1.3
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking addr2line v0.17.0
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking downcast-rs v1.2.0
[INFO] [stderr]    Compiling wasmtime v1.0.2
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking memory_units v0.4.0
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]     Checking futures-sink v0.3.25
[INFO] [stderr]     Checking chrono v0.4.23
[INFO] [stderr]     Checking matchers v0.0.1
[INFO] [stderr]     Checking wasmi-validation v0.5.0
[INFO] [stderr]     Checking wasmi_core v0.2.1
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.3.0
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.3.0
[INFO] [stderr]     Checking sharded-slab v0.1.4
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking tracing-log v0.1.3
[INFO] [stderr]     Checking sha2 v0.10.6
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking crypto-mac v0.11.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]    Compiling secp256k1-sys v0.6.1
[INFO] [stderr]     Checking thread_local v1.1.4
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling parking_lot_core v0.9.5
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking hash-db v0.15.2
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking hmac v0.8.1
[INFO] [stderr]     Checking wasmi v0.13.2
[INFO] [stderr]    Compiling libsecp256k1 v0.7.1
[INFO] [stderr]     Checking uint v0.9.5
[INFO] [stderr]     Checking fixed-hash v0.8.0
[INFO] [stderr]     Checking environmental v1.1.4
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking hmac-drbg v0.3.0
[INFO] [stderr]     Checking pbkdf2 v0.8.0
[INFO] [stderr]     Checking hmac v0.11.0
[INFO] [stderr]     Checking sha3 v0.10.6
[INFO] [stderr]     Checking num-format v0.4.4
[INFO] [stderr]     Checking twox-hash v1.6.3
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking dyn-clone v1.0.10
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking sp-core-hashing v6.0.0
[INFO] [stderr]     Checking hash256-std-hasher v0.15.2
[INFO] [stderr]     Checking base58 v0.2.0
[INFO] [stderr]     Checking array-bytes v4.2.0
[INFO] [stderr]     Checking signature v1.6.4
[INFO] [stderr]    Compiling backtrace v0.3.67
[INFO] [stderr]     Checking gimli v0.27.0
[INFO] [stderr]     Checking miniz_oxide v0.6.2
[INFO] [stderr]     Checking object v0.30.1
[INFO] [stderr]     Checking trie-db v0.24.0
[INFO] [stderr]     Checking memory-db v0.31.0
[INFO] [stderr]     Checking trie-root v0.17.0
[INFO] [stderr]     Checking lru v0.8.1
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]     Checking ed25519 v1.5.2
[INFO] [stderr]     Checking integer-sqrt v0.1.5
[INFO] [stderr]     Checking const-oid v0.9.1
[INFO] [stderr]     Checking base64ct v1.5.3
[INFO] [stderr]    Compiling cpufeatures v0.2.5
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]     Checking secp256k1 v0.24.2
[INFO] [stderr]     Checking ff v0.12.1
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]     Checking base16ct v0.1.1
[INFO] [stderr]     Checking group v0.12.1
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]     Checking tt-call v1.0.9
[INFO] [stderr]    Compiling cfg-expr v0.10.3
[INFO] [stderr]     Checking addr2line v0.19.0
[INFO] [stderr]    Compiling serde_derive v1.0.152
[INFO] [stderr]    Compiling thiserror-impl v1.0.38
[INFO] [stderr]    Compiling zeroize_derive v1.3.3
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.2
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling tracing-attributes v0.1.23
[INFO] [stderr]    Compiling ref-cast-impl v1.0.14
[INFO] [stderr]    Compiling sp-debug-derive v6.0.0
[INFO] [stderr]     Checking zeroize v1.5.7
[INFO] [stderr]    Compiling futures-macro v0.3.25
[INFO] [stderr]     Checking curve25519-dalek v3.2.0
[INFO] [stderr]     Checking merlin v2.0.1
[INFO] [stderr]     Checking curve25519-dalek v2.1.3
[INFO] [stderr]    Compiling thiserror v1.0.38
[INFO] [stderr]    Compiling dyn-clonable-impl v0.9.0
[INFO] [stderr]     Checking tiny-bip39 v1.0.0
[INFO] [stderr]     Checking ed25519-zebra v3.1.0
[INFO] [stderr]     Checking secrecy v0.8.0
[INFO] [stderr]    Compiling async-trait v0.1.61
[INFO] [stderr]     Checking schnorrkel v0.9.1
[INFO] [stderr]     Checking sp-panic-handler v6.0.0
[INFO] [stderr]     Checking ed25519-dalek v1.0.1
[INFO] [stderr]     Checking der v0.6.1
[INFO] [stderr]     Checking futures-util v0.3.25
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking crypto-bigint v0.4.9
[INFO] [stderr]     Checking dyn-clonable v0.9.0
[INFO] [stderr]    Compiling sp-core-hashing-proc-macro v6.0.0
[INFO] [stderr]     Checking spki v0.6.0
[INFO] [stderr]     Checking substrate-bip39 v0.4.4
[INFO] [stderr]     Checking pkcs8 v0.9.0
[INFO] [stderr]    Compiling frame-support-procedural-tools-derive v4.0.0
[INFO] [stderr]     Checking sec1 v0.3.0
[INFO] [stderr]     Checking elliptic-curve v0.12.3
[INFO] [stderr]     Checking rfc6979 v0.3.1
[INFO] [stderr]     Checking ecdsa v0.14.8
[INFO] [stderr]     Checking k256 v0.11.6
[INFO] [stderr]     Checking futures-executor v0.3.25
[INFO] [stderr]     Checking futures v0.3.25
[INFO] [stderr]     Checking indexmap v1.9.2
[INFO] [stderr]     Checking cranelift-entity v0.88.2
[INFO] [stderr]     Checking impl-serde v0.4.0
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking tracing-serde v0.1.3
[INFO] [stderr]     Checking wasmparser v0.89.1
[INFO] [stderr]     Checking object v0.29.0
[INFO] [stderr]    Compiling toml v0.5.10
[INFO] [stderr]     Checking tracing-subscriber v0.2.25
[INFO] [stderr]    Compiling proc-macro-crate v1.2.1
[INFO] [stderr]    Compiling ss58-registry v1.37.0
[INFO] [stderr]    Compiling frame-support-procedural-tools v4.0.0
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.1.3
[INFO] [stderr]    Compiling scale-info-derive v2.3.1
[INFO] [stderr]    Compiling sp-runtime-interface-proc-macro v7.0.0
[INFO] [stderr]    Compiling sp-api-proc-macro v4.0.0
[INFO] [stderr]    Compiling frame-support-procedural v5.0.0
[INFO] [stderr]     Checking wasmtime-types v1.0.2
[INFO] [stderr]     Checking wasmtime-environ v1.0.2
[INFO] [stderr]     Checking wasmtime-jit v1.0.2
[INFO] [stderr]     Checking parity-scale-codec v3.2.1
[INFO] [stderr]     Checking scale-info v2.3.1
[INFO] [stderr]     Checking impl-codec v0.6.0
[INFO] [stderr]     Checking sp-storage v9.0.0
[INFO] [stderr]     Checking sp-externalities v0.15.0
[INFO] [stderr]     Checking sp-tracing v7.0.0
[INFO] [stderr]    Compiling sp-version-proc-macro v5.0.0
[INFO] [stderr]     Checking primitive-types v0.12.1
[INFO] [stderr]     Checking sp-arithmetic v8.0.0
[INFO] [stderr]     Checking frame-metadata v15.0.0
[INFO] [stderr]     Checking sp-wasm-interface v8.0.0
[INFO] [stderr]     Checking sp-runtime-interface v9.0.0
[INFO] [stderr]     Checking sp-core v10.0.0
[INFO] [stderr]     Checking sp-trie v10.0.0
[INFO] [stderr]     Checking sp-keystore v0.16.0
[INFO] [stderr]     Checking sp-weights v7.0.0
[INFO] [stderr]     Checking sp-state-machine v0.16.0
[INFO] [stderr]     Checking sp-io v11.0.0
[INFO] [stderr]     Checking sp-application-crypto v11.0.0
[INFO] [stderr]     Checking sp-runtime v11.0.0
[INFO] [stderr]     Checking sp-version v9.0.0
[INFO] [stderr]     Checking sp-staking v7.0.0
[INFO] [stderr]     Checking sp-inherents v7.0.0
[INFO] [stderr]     Checking sp-api v7.0.0
[INFO] [stderr]     Checking frame-support v9.0.0
[INFO] [stderr]     Checking frame-system v9.0.0
[INFO] [stderr]     Checking pallet-balances v9.0.0
[INFO] [stderr]     Checking pallet-democracy v9.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_preimage`
[INFO] [stdout]   --> src/tests.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |         Preimage: pallet_preimage,
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_preimage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_scheduler`
[INFO] [stdout]   --> src/tests/voting.rs:95:11
[INFO] [stdout]    |
[INFO] [stdout] 95 |         assert!(pallet_scheduler::Agenda::<Test>::get(6)[0].is_some());
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_scheduler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall`
[INFO] [stdout]   --> src/tests.rs:74:20
[INFO] [stdout]    |
[INFO] [stdout] 74 |         !matches!(call, &RuntimeCall::Balances(pallet_balances::Call::set_balance { .. }))
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_preimage`
[INFO] [stdout]    --> src/tests.rs:114:6
[INFO] [stdout]     |
[INFO] [stdout] 114 | impl pallet_preimage::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_preimage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_scheduler`
[INFO] [stdout]    --> src/tests.rs:123:6
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl pallet_scheduler::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_scheduler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests/cancellation.rs:48:3
[INFO] [stdout]    |
[INFO] [stdout] 48 |         System::set_block_number(0);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 | use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/cancellation.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn emergency_cancel_should_work() {
[INFO] [stdout]    |                                - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 72 |             Error::<Test>::AlreadyCanceled,
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/decoders.rs:50:16
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn len_of_deposit_of() {
[INFO] [stdout]    |                     - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 50 |             DepositOf::<Test>::insert(2, value);
[INFO] [stdout]    |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/decoders.rs:54:15
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn len_of_deposit_of() {
[INFO] [stdout]    |                     - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 54 |         DepositOf::<Test>::remove(2);
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests/delegation.rs:25:3
[INFO] [stdout]    |
[INFO] [stdout] 25 |         System::set_block_number(0);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 | use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/delegation.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn self_delegation_not_allowed() {
[INFO] [stdout]    |                               - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 68 |             Error::<Test>::Nonsense,
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests/delegation.rs:76:3
[INFO] [stdout]    |
[INFO] [stdout] 76 |         System::set_block_number(0);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 | use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/delegation.rs:101:3
[INFO] [stdout]     |
[INFO] [stdout] 101 |         System::set_block_number(0);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/delegation.rs:123:3
[INFO] [stdout]     |
[INFO] [stdout] 123 |         System::set_block_number(0);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/delegation.rs:199:25
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn redelegation_keeps_lock() {
[INFO] [stdout]     |                           - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 199 |         assert_eq!(VotingOf::<Test>::get(2).locked_balance(), 20);
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/delegation.rs:200:25
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn redelegation_keeps_lock() {
[INFO] [stdout]     |                           - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 200 |         assert_eq!(VotingOf::<Test>::get(2).prior(), &prior_lock);
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/delegation.rs:207:25
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn redelegation_keeps_lock() {
[INFO] [stdout]     |                           - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 207 |         assert_eq!(VotingOf::<Test>::get(2).prior(), &prior_lock);
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/delegation.rs:208:25
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn redelegation_keeps_lock() {
[INFO] [stdout]     |                           - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 208 |         assert_eq!(VotingOf::<Test>::get(2).locked_balance(), 20);
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/delegation.rs:211:25
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn redelegation_keeps_lock() {
[INFO] [stdout]     |                           - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 211 |         assert_eq!(VotingOf::<Test>::get(2).prior(), &prior_lock);
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/delegation.rs:212:25
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn redelegation_keeps_lock() {
[INFO] [stdout]     |                           - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 212 |         assert_eq!(VotingOf::<Test>::get(2).locked_balance(), 20);
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/delegation.rs:217:25
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn redelegation_keeps_lock() {
[INFO] [stdout]     |                           - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 217 |         assert_eq!(VotingOf::<Test>::get(2).prior(), &prior_lock);
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/delegation.rs:219:25
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn redelegation_keeps_lock() {
[INFO] [stdout]     |                           - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 219 |         assert_eq!(VotingOf::<Test>::get(2).prior(), &vote::PriorLock::default());
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/delegation.rs:220:25
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn redelegation_keeps_lock() {
[INFO] [stdout]     |                           - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 220 |         assert_eq!(VotingOf::<Test>::get(2).locked_balance(), 10);
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests/external_proposing.rs:25:3
[INFO] [stdout]    |
[INFO] [stdout] 25 |         System::set_block_number(0);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 | use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/external_proposing.rs:27:25
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn veto_external_works() {
[INFO] [stdout]    |                       - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 27 |         assert!(<NextExternal<Test>>::exists());
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/external_proposing.rs:32:26
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn veto_external_works() {
[INFO] [stdout]    |                       - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 32 |         assert!(!<NextExternal<Test>>::exists());
[INFO] [stdout]    |                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/external_proposing.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn veto_external_works() {
[INFO] [stdout]    |                       - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 36 |             Error::<Test>::ProposalBlacklisted
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/external_proposing.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn veto_external_works() {
[INFO] [stdout]    |                       - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 43 |             Error::<Test>::ProposalBlacklisted
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/external_proposing.rs:49:25
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn veto_external_works() {
[INFO] [stdout]    |                       - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 49 |         assert!(<NextExternal<Test>>::exists());
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/external_proposing.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn veto_external_works() {
[INFO] [stdout]    |                       - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 54 |             Error::<Test>::AlreadyVetoed
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/external_proposing.rs:60:26
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn veto_external_works() {
[INFO] [stdout]    |                       - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 60 |         assert!(!<NextExternal<Test>>::exists());
[INFO] [stdout]    |                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/external_proposing.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn veto_external_works() {
[INFO] [stdout]    |                       - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 66 |             Error::<Test>::ProposalBlacklisted
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests/external_proposing.rs:76:3
[INFO] [stdout]    |
[INFO] [stdout] 76 |         System::set_block_number(0);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 | use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/external_proposing.rs:84:57
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn external_blacklisting_should_work() {
[INFO] [stdout]    |                                     - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 84 |         assert_noop!(Democracy::referendum_status(0), Error::<Test>::ReferendumInvalid);
[INFO] [stdout]    |                                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/external_proposing.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn external_blacklisting_should_work() {
[INFO] [stdout]    |                                     - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 88 |             Error::<Test>::ProposalBlacklisted,
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests/external_proposing.rs:96:3
[INFO] [stdout]    |
[INFO] [stdout] 96 |         System::set_block_number(0);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 | use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/external_proposing.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 94  | fn external_referendum_works() {
[INFO] [stdout]     |                             - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 104 |             Error::<Test>::DuplicateProposal
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/external_proposing.rs:123:3
[INFO] [stdout]     |
[INFO] [stdout] 123 |         System::set_block_number(0);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/external_proposing.rs:149:3
[INFO] [stdout]     |
[INFO] [stdout] 149 |         System::set_block_number(0);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/external_proposing.rs:175:3
[INFO] [stdout]     |
[INFO] [stdout] 175 |         System::set_block_number(0);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:25:3
[INFO] [stdout]    |
[INFO] [stdout] 25 |         System::set_block_number(0);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 | use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/fast_tracking.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn fast_track_referendum_works() {
[INFO] [stdout]    |                               - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 29 |             Error::<Test>::ProposalMissing
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:53:3
[INFO] [stdout]    |
[INFO] [stdout] 53 |         System::set_block_number(0);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 | use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/fast_tracking.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn instant_referendum_works() {
[INFO] [stdout]    |                            - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 57 |             Error::<Test>::ProposalMissing
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/fast_tracking.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn instant_referendum_works() {
[INFO] [stdout]    |                            - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 67 |             Error::<Test>::InstantNotAllowed
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/fast_tracking.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn instant_referendum_works() {
[INFO] [stdout]    |                            - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 72 |             Error::<Test>::VotingPeriodLow
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:100:3
[INFO] [stdout]     |
[INFO] [stdout] 100 |         System::set_block_number(start_block_number);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/fast_tracking.rs:133:57
[INFO] [stdout]     |
[INFO] [stdout] 89  | fn instant_next_block_referendum_backed() {
[INFO] [stdout]     |                                        - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 133 |         assert_noop!(Democracy::referendum_status(0), Error::<Test>::ReferendumInvalid);
[INFO] [stdout]     |                                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/fast_tracking.rs:136:23
[INFO] [stdout]     |
[INFO] [stdout] 89  | fn instant_next_block_referendum_backed() {
[INFO] [stdout]     |                                        - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 136 |             ReferendumInfoOf::<Test>::get(0).unwrap(),
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:145:3
[INFO] [stdout]     |
[INFO] [stdout] 145 |         System::set_block_number(0);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/fast_tracking.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 143 | fn fast_track_referendum_fails_when_no_simple_majority() {
[INFO] [stdout]     |                                                       - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 150 |             Error::<Test>::NotSimpleMajority
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests/lock_voting.rs:43:3
[INFO] [stdout]    |
[INFO] [stdout] 43 |         System::set_block_number(0);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 | use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/lock_voting.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn lock_voting_should_work() {
[INFO] [stdout]    |                           - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 74 |             Error::<Test>::NoPermission
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/lock_voting.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn lock_voting_should_work() {
[INFO] [stdout]    |                           - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 91 |             Error::<Test>::NoPermission
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/lock_voting.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 41  | fn lock_voting_should_work() {
[INFO] [stdout]     |                           - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 104 |             Error::<Test>::NoPermission
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/lock_voting.rs:126:3
[INFO] [stdout]     |
[INFO] [stdout] 126 |         System::set_block_number(0);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/lock_voting.rs:169:2
[INFO] [stdout]     |
[INFO] [stdout] 169 |     System::set_block_number(0);
[INFO] [stdout]     |     ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/lock_voting.rs:198:12
[INFO] [stdout]     |
[INFO] [stdout] 188 | fn prior_lockvotes_should_be_enforced() {
[INFO] [stdout]     |                                      - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 198 |             Error::<Test>::NoPermission
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/lock_voting.rs:209:12
[INFO] [stdout]     |
[INFO] [stdout] 188 | fn prior_lockvotes_should_be_enforced() {
[INFO] [stdout]     |                                      - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 209 |             Error::<Test>::NoPermission
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/lock_voting.rs:220:12
[INFO] [stdout]     |
[INFO] [stdout] 188 | fn prior_lockvotes_should_be_enforced() {
[INFO] [stdout]     |                                      - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 220 |             Error::<Test>::NoPermission
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/lock_voting.rs:294:3
[INFO] [stdout]     |
[INFO] [stdout] 294 |         System::set_block_number(0);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/lock_voting.rs:334:3
[INFO] [stdout]     |
[INFO] [stdout] 334 |         System::set_block_number(0);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/public_proposals.rs:66:54
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn proposal_with_deposit_below_minimum_should_not_work() {
[INFO] [stdout]    |                                                       - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] 65 |     new_test_ext().execute_with(|| {
[INFO] [stdout] 66 |         assert_noop!(propose_set_balance(1, 2, 0), Error::<Test>::ValueLow);
[INFO] [stdout]    |                                                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/public_proposals.rs:73:63
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn poor_proposer_should_not_work() {
[INFO] [stdout]    |                                 - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] 72 |     new_test_ext().execute_with(|| {
[INFO] [stdout] 73 |         assert_noop!(propose_set_balance(1, 2, 11), BalancesError::<Test, _>::InsufficientBalance);
[INFO] [stdout]    |                                                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/public_proposals.rs:83:20
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn poor_seconder_should_not_work() {
[INFO] [stdout]    |                                 - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 83 |             BalancesError::<Test, _>::InsufficientBalance
[INFO] [stdout]    |                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests/public_proposals.rs:95:3
[INFO] [stdout]    |
[INFO] [stdout] 95 |         System::assert_last_event(crate::Event::ProposalCanceled { prop_index: 0 }.into());
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 | use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/public_proposals.rs:104:3
[INFO] [stdout]     |
[INFO] [stdout] 104 |         System::set_block_number(0);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/public_proposals.rs:116:54
[INFO] [stdout]     |
[INFO] [stdout] 102 | fn blacklisting_should_work() {
[INFO] [stdout]     |                            - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 116 |         assert_noop!(propose_set_balance(1, 2, 2), Error::<Test>::ProposalBlacklisted);
[INFO] [stdout]     |                                                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/public_proposals.rs:123:57
[INFO] [stdout]     |
[INFO] [stdout] 102 | fn blacklisting_should_work() {
[INFO] [stdout]     |                            - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 123 |         assert_noop!(Democracy::referendum_status(0), Error::<Test>::ReferendumInvalid);
[INFO] [stdout]     |                                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/public_proposals.rs:130:3
[INFO] [stdout]     |
[INFO] [stdout] 130 |         System::set_block_number(0);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/voting.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn overvoting_should_fail() {
[INFO] [stdout]    |                          - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 28 |             Error::<Test>::InsufficientFunds
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/voting.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn split_voting_should_work() {
[INFO] [stdout]    |                            - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 40 |             Error::<Test>::InsufficientFunds
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests/voting.rs:65:3
[INFO] [stdout]    |
[INFO] [stdout] 65 |         System::set_block_number(0);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 | use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/voting.rs:94:57
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn single_proposal_should_work() {
[INFO] [stdout]    |                               - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 94 |         assert_noop!(Democracy::referendum_status(0), Error::<Test>::ReferendumInvalid);
[INFO] [stdout]    |                                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/voting.rs:95:38
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn single_proposal_should_work() {
[INFO] [stdout]    |                               - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 95 |         assert!(pallet_scheduler::Agenda::<Test>::get(6)[0].is_some());
[INFO] [stdout]    |                                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:53:73
[INFO] [stdout]    |
[INFO] [stdout] 53 | type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic<Test>;
[INFO] [stdout]    |                        -                                                ^^^^ not found in this scope
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:54:47
[INFO] [stdout]    |
[INFO] [stdout] 54 | type Block = frame_system::mocking::MockBlock<Test>;
[INFO] [stdout]    |           -                                   ^^^^ not found in this scope
[INFO] [stdout]    |           |
[INFO] [stdout]    |           help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/tests.rs:72:15
[INFO] [stdout]    |
[INFO] [stdout] 72 | impl Contains<RuntimeCall> for BaseFilter {
[INFO] [stdout]    |     -         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |     |
[INFO] [stdout]    |     help: you might be missing a type parameter: `<RuntimeCall>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/tests.rs:73:21
[INFO] [stdout]    |
[INFO] [stdout] 73 |     fn contains(call: &RuntimeCall) -> bool {
[INFO] [stdout]    |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:84:31
[INFO] [stdout]    |
[INFO] [stdout] 84 | impl frame_system::Config for Test {
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]   --> src/tests.rs:89:23
[INFO] [stdout]    |
[INFO] [stdout] 89 |     type RuntimeOrigin = RuntimeOrigin;
[INFO] [stdout]    |                          ^^^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/tests.rs:92:21
[INFO] [stdout]    |
[INFO] [stdout] 92 |     type RuntimeCall = RuntimeCall;
[INFO] [stdout]    |                        ^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]   --> src/tests.rs:98:22
[INFO] [stdout]    |
[INFO] [stdout] 98 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]    |                         ^^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope
[INFO] [stdout]    --> src/tests.rs:101:20
[INFO] [stdout]     |
[INFO] [stdout] 101 |     type PalletInfo = PalletInfo;
[INFO] [stdout]     |                       ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]     |
[INFO] [stdout] 101 |     type PalletInfo = Self::PalletInfo;
[INFO] [stdout]     |                       ~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 20  | use frame_support::traits::PalletInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:114:34
[INFO] [stdout]     |
[INFO] [stdout] 114 | impl pallet_preimage::Config for Test {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/tests.rs:115:22
[INFO] [stdout]     |
[INFO] [stdout] 115 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:117:18
[INFO] [stdout]     |
[INFO] [stdout] 117 |       type Currency = Balances;
[INFO] [stdout]     |                       ^^^^^^^^ help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:200:1
[INFO] [stdout]     |
[INFO] [stdout] 200 | / type BalanceOf<T> =
[INFO] [stdout] 201 | |     <<T as Config>::Currency as Currency<<T as frame_system::Config>::AccountId>>::Balance;
[INFO] [stdout]     | |___________________________________________________________________________________________- similarly named type alias `BalanceOf` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:123:35
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl pallet_scheduler::Config for Test {
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/tests.rs:124:22
[INFO] [stdout]     |
[INFO] [stdout] 124 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:125:23
[INFO] [stdout]     |
[INFO] [stdout] 125 |     type RuntimeOrigin = RuntimeOrigin;
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OriginCaller` in this scope
[INFO] [stdout]    --> src/tests.rs:126:23
[INFO] [stdout]     |
[INFO] [stdout] 126 |     type PalletsOrigin = OriginCaller;
[INFO] [stdout]     |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:127:21
[INFO] [stdout]     |
[INFO] [stdout] 127 |     type RuntimeCall = RuntimeCall;
[INFO] [stdout]     |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:136:34
[INFO] [stdout]     |
[INFO] [stdout] 136 | impl pallet_balances::Config for Test {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/tests.rs:141:22
[INFO] [stdout]     |
[INFO] [stdout] 141 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:144:22
[INFO] [stdout]     |
[INFO] [stdout] 144 |     type AccountStore = System;
[INFO] [stdout]     |                         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:168:17
[INFO] [stdout]     |
[INFO] [stdout] 168 | impl Config for Test {
[INFO] [stdout]     |                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/tests.rs:169:22
[INFO] [stdout]     |
[INFO] [stdout] 169 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Scheduler` in this scope
[INFO] [stdout]    --> src/tests.rs:191:19
[INFO] [stdout]     |
[INFO] [stdout] 191 |     type Scheduler = Scheduler;
[INFO] [stdout]     |                      ^^^^^^^^^ help: you might have meant to use the associated type: `Self::Scheduler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OriginCaller` in this scope
[INFO] [stdout]    --> src/tests.rs:193:23
[INFO] [stdout]     |
[INFO] [stdout] 193 |     type PalletsOrigin = OriginCaller;
[INFO] [stdout]     |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope
[INFO] [stdout]    --> src/tests.rs:196:19
[INFO] [stdout]     |
[INFO] [stdout] 196 |     type Preimages = Preimage;
[INFO] [stdout]     |                      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:200:69
[INFO] [stdout]     |
[INFO] [stdout] 199 | pub fn new_test_ext() -> sp_io::TestExternalities {
[INFO] [stdout]     |                    - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] 200 |     let mut t = frame_system::GenesisConfig::default().build_storage::<Test>().unwrap();
[INFO] [stdout]     |                                                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:201:35
[INFO] [stdout]     |
[INFO] [stdout] 199 | pub fn new_test_ext() -> sp_io::TestExternalities {
[INFO] [stdout]     |                    - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] 200 |     let mut t = frame_system::GenesisConfig::default().build_storage::<Test>().unwrap();
[INFO] [stdout] 201 |     pallet_balances::GenesisConfig::<Test> {
[INFO] [stdout]     |                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:206:36
[INFO] [stdout]     |
[INFO] [stdout] 199 | pub fn new_test_ext() -> sp_io::TestExternalities {
[INFO] [stdout]     |                    - help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] ...
[INFO] [stdout] 206 |     pallet_democracy::GenesisConfig::<Test>::default()
[INFO] [stdout]     |                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:210:22
[INFO] [stdout]     |
[INFO] [stdout] 210 |     ext.execute_with(|| System::set_block_number(1));
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:223:54
[INFO] [stdout]     |
[INFO] [stdout] 223 | fn set_balance_proposal(value: u64) -> BoundedCallOf<Test> {
[INFO] [stdout]     |                        -                             ^^^^ not found in this scope
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        help: you might be missing a type parameter: `<Test>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:233:13
[INFO] [stdout]     |
[INFO] [stdout] 233 |         assert!(!<Test as frame_system::Config>::BaseCallFilter::contains(&call));
[INFO] [stdout]     |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:242:2
[INFO] [stdout]     |
[INFO] [stdout] 242 |     System::set_block_number(System::block_number() + 1);
[INFO] [stdout]     |     ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:242:27
[INFO] [stdout]     |
[INFO] [stdout] 242 |     System::set_block_number(System::block_number() + 1);
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:243:27
[INFO] [stdout]     |
[INFO] [stdout] 243 |     Scheduler::on_initialize(System::block_number());
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:244:25
[INFO] [stdout]     |
[INFO] [stdout] 244 |     Democracy::begin_block(System::block_number());
[INFO] [stdout]     |                            ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:248:8
[INFO] [stdout]     |
[INFO] [stdout] 248 |     while System::block_number() < n {
[INFO] [stdout]     |           ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:254:2
[INFO] [stdout]     |
[INFO] [stdout] 254 |     System::set_block_number(0);
[INFO] [stdout]     |     ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OnInitialize`, `StorePreimage`
[INFO] [stdout]   --> src/tests.rs:25:67
[INFO] [stdout]    |
[INFO] [stdout] 25 |         ConstU32, ConstU64, Contains, EqualPrivilegeOnly, GenesisBuild, OnInitialize,
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^
[INFO] [stdout] 26 |         SortedMembers, StorePreimage,
[INFO] [stdout]    |                        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let r = Democracy::inject_referendum(
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/cancellation.rs:31:30
[INFO] [stdout]    |
[INFO] [stdout] 31 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 |         assert_ok!(Democracy::cancel_referendum(RuntimeOrigin::root(), r.into()));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/cancellation.rs:32:43
[INFO] [stdout]    |
[INFO] [stdout] 32 |         assert_ok!(Democracy::cancel_referendum(RuntimeOrigin::root(), r.into()));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |         assert_eq!(Democracy::lowest_unbaked(), 0);
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:39:14
[INFO] [stdout]    |
[INFO] [stdout] 39 |         assert_eq!(Democracy::lowest_unbaked(), 1);
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 |         assert_eq!(Democracy::lowest_unbaked(), Democracy::referendum_count());
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:40:43
[INFO] [stdout]    |
[INFO] [stdout] 40 |         assert_eq!(Democracy::lowest_unbaked(), Democracy::referendum_count());
[INFO] [stdout]    |                                                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/cancellation.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 |         assert_eq!(Balances::free_balance(42), 0);
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    use of undeclared type `Balances`
[INFO] [stdout]    |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:49:11
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let r = Democracy::inject_referendum(
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:55:11
[INFO] [stdout]    |
[INFO] [stdout] 55 |         assert!(Democracy::referendum_status(r).is_ok());
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 |         assert_noop!(Democracy::emergency_cancel(RuntimeOrigin::signed(3), r), BadOrigin);
[INFO] [stdout]    |                      ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/cancellation.rs:57:44
[INFO] [stdout]    |
[INFO] [stdout] 57 |         assert_noop!(Democracy::emergency_cancel(RuntimeOrigin::signed(3), r), BadOrigin);
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:58:14
[INFO] [stdout]    |
[INFO] [stdout] 58 |         assert_ok!(Democracy::emergency_cancel(RuntimeOrigin::signed(4), r));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/cancellation.rs:58:42
[INFO] [stdout]    |
[INFO] [stdout] 58 |         assert_ok!(Democracy::emergency_cancel(RuntimeOrigin::signed(4), r));
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:59:11
[INFO] [stdout]    |
[INFO] [stdout] 59 |         assert!(Democracy::referendum_info(r).is_none());
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:63:11
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let r = Democracy::inject_referendum(
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:69:11
[INFO] [stdout]    |
[INFO] [stdout] 69 |         assert!(Democracy::referendum_status(r).is_ok());
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 |             Democracy::emergency_cancel(RuntimeOrigin::signed(4), r),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/cancellation.rs:71:32
[INFO] [stdout]    |
[INFO] [stdout] 71 |             Democracy::emergency_cancel(RuntimeOrigin::signed(4), r),
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/decoders.rs:51:15
[INFO] [stdout]    |
[INFO] [stdout] 51 |             assert_eq!(Democracy::len_of_deposit_of(2), Some(l));
[INFO] [stdout]    |                        ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/decoders.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 55 |         assert_eq!(Democracy::len_of_deposit_of(2), None);
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:32:34
[INFO] [stdout]    |
[INFO] [stdout] 32 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:34:30
[INFO] [stdout]    |
[INFO] [stdout] 34 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(3), 1, Conviction::None, 30));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:38:34
[INFO] [stdout]    |
[INFO] [stdout] 38 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(3), 1, Conviction::None, 30));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:42:14
[INFO] [stdout]    |
[INFO] [stdout] 42 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 10));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:42:34
[INFO] [stdout]    |
[INFO] [stdout] 42 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 10));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:46:14
[INFO] [stdout]    |
[INFO] [stdout] 46 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(3), 2, Conviction::None, 30));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:46:34
[INFO] [stdout]    |
[INFO] [stdout] 46 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(3), 2, Conviction::None, 30));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:50:14
[INFO] [stdout]    |
[INFO] [stdout] 50 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(1), r));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:50:37
[INFO] [stdout]    |
[INFO] [stdout] 50 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(1), r));
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked1x, 10));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:54:34
[INFO] [stdout]    |
[INFO] [stdout] 54 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked1x, 10));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:58:14
[INFO] [stdout]    |
[INFO] [stdout] 58 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:58:30
[INFO] [stdout]    |
[INFO] [stdout] 58 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 |             Democracy::delegate(RuntimeOrigin::signed(1), 1, Conviction::None, 10),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:67:24
[INFO] [stdout]    |
[INFO] [stdout] 67 |             Democracy::delegate(RuntimeOrigin::signed(1), 1, Conviction::None, 10),
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:83:14
[INFO] [stdout]    |
[INFO] [stdout] 83 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:83:34
[INFO] [stdout]    |
[INFO] [stdout] 83 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:84:14
[INFO] [stdout]    |
[INFO] [stdout] 84 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(3), 2, Conviction::None, 30));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:84:34
[INFO] [stdout]    |
[INFO] [stdout] 84 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(3), 2, Conviction::None, 30));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:85:14
[INFO] [stdout]    |
[INFO] [stdout] 85 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(1), 3, Conviction::None, 10));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:85:34
[INFO] [stdout]    |
[INFO] [stdout] 85 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(1), 3, Conviction::None, 10));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:87:14
[INFO] [stdout]    |
[INFO] [stdout] 87 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(3)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:87:36
[INFO] [stdout]    |
[INFO] [stdout] 87 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(3)));
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:88:14
[INFO] [stdout]    |
[INFO] [stdout] 88 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, aye(3)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:88:30
[INFO] [stdout]    |
[INFO] [stdout] 88 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, aye(3)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:89:14
[INFO] [stdout]    |
[INFO] [stdout] 89 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(1)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:89:36
[INFO] [stdout]    |
[INFO] [stdout] 89 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(1)));
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:90:14
[INFO] [stdout]    |
[INFO] [stdout] 90 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(1)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:90:30
[INFO] [stdout]    |
[INFO] [stdout] 90 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(1)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:108:14
[INFO] [stdout]     |
[INFO] [stdout] 108 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:108:30
[INFO] [stdout]     |
[INFO] [stdout] 108 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:109:14
[INFO] [stdout]     |
[INFO] [stdout] 109 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, nay(2)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:109:30
[INFO] [stdout]     |
[INFO] [stdout] 109 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, nay(2)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:113:14
[INFO] [stdout]     |
[INFO] [stdout] 113 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(2), r));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:113:37
[INFO] [stdout]     |
[INFO] [stdout] 113 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(2), r));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:114:14
[INFO] [stdout]     |
[INFO] [stdout] 114 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:114:34
[INFO] [stdout]     |
[INFO] [stdout] 114 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:128:14
[INFO] [stdout]     |
[INFO] [stdout] 128 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:128:34
[INFO] [stdout]     |
[INFO] [stdout] 128 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:129:14
[INFO] [stdout]     |
[INFO] [stdout] 129 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(2)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:129:36
[INFO] [stdout]     |
[INFO] [stdout] 129 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(2)));
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:133:14
[INFO] [stdout]     |
[INFO] [stdout] 133 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:133:30
[INFO] [stdout]     |
[INFO] [stdout] 133 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:146:14
[INFO] [stdout]     |
[INFO] [stdout] 146 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:146:30
[INFO] [stdout]     |
[INFO] [stdout] 146 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:147:14
[INFO] [stdout]     |
[INFO] [stdout] 147 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:147:34
[INFO] [stdout]     |
[INFO] [stdout] 147 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:149:14
[INFO] [stdout]     |
[INFO] [stdout] 149 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(2)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:149:36
[INFO] [stdout]     |
[INFO] [stdout] 149 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(2)));
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:150:14
[INFO] [stdout]     |
[INFO] [stdout] 150 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(2)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:150:30
[INFO] [stdout]     |
[INFO] [stdout] 150 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(2)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:162:14
[INFO] [stdout]     |
[INFO] [stdout] 162 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked6x, 20));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:162:34
[INFO] [stdout]     |
[INFO] [stdout] 162 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked6x, 20));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:163:14
[INFO] [stdout]     |
[INFO] [stdout] 163 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:163:30
[INFO] [stdout]     |
[INFO] [stdout] 163 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:174:14
[INFO] [stdout]     |
[INFO] [stdout] 174 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked6x, 20));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:174:34
[INFO] [stdout]     |
[INFO] [stdout] 174 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked6x, 20));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:175:14
[INFO] [stdout]     |
[INFO] [stdout] 175 |         assert_ok!(Democracy::vote(
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:176:4
[INFO] [stdout]     |
[INFO] [stdout] 176 |             RuntimeOrigin::signed(1),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:191:14
[INFO] [stdout]     |
[INFO] [stdout] 191 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked6x, 20));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:191:34
[INFO] [stdout]     |
[INFO] [stdout] 191 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked6x, 20));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:192:14
[INFO] [stdout]     |
[INFO] [stdout] 192 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:192:30
[INFO] [stdout]     |
[INFO] [stdout] 192 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:203:14
[INFO] [stdout]     |
[INFO] [stdout] 203 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 3, Conviction::None, 10));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:203:34
[INFO] [stdout]     |
[INFO] [stdout] 203 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 3, Conviction::None, 10));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:210:14
[INFO] [stdout]     |
[INFO] [stdout] 210 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(2), 2));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:210:32
[INFO] [stdout]     |
[INFO] [stdout] 210 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(2), 2));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:218:14
[INFO] [stdout]     |
[INFO] [stdout] 218 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(2), 2));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:218:32
[INFO] [stdout]     |
[INFO] [stdout] 218 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(2), 2));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:26:42
[INFO] [stdout]    |
[INFO] [stdout] 26 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),));
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |         assert_ok!(Democracy::veto_external(RuntimeOrigin::signed(3), h));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:30:39
[INFO] [stdout]    |
[INFO] [stdout] 30 |         assert_ok!(Democracy::veto_external(RuntimeOrigin::signed(3), h));
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 |             Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:35:32
[INFO] [stdout]    |
[INFO] [stdout] 35 |             Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),),
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:42:4
[INFO] [stdout]    |
[INFO] [stdout] 42 |             Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:42:32
[INFO] [stdout]    |
[INFO] [stdout] 42 |             Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),),
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:48:42
[INFO] [stdout]    |
[INFO] [stdout] 48 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),));
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 |             Democracy::veto_external(RuntimeOrigin::signed(3), h),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:53:29
[INFO] [stdout]    |
[INFO] [stdout] 53 |             Democracy::veto_external(RuntimeOrigin::signed(3), h),
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:58:14
[INFO] [stdout]    |
[INFO] [stdout] 58 |         assert_ok!(Democracy::veto_external(RuntimeOrigin::signed(4), h));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:58:39
[INFO] [stdout]    |
[INFO] [stdout] 58 |         assert_ok!(Democracy::veto_external(RuntimeOrigin::signed(4), h));
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 |             Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2)),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:65:32
[INFO] [stdout]    |
[INFO] [stdout] 65 |             Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2)),
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(3),));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:69:42
[INFO] [stdout]    |
[INFO] [stdout] 69 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(3),));
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:78:14
[INFO] [stdout]    |
[INFO] [stdout] 78 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:78:42
[INFO] [stdout]    |
[INFO] [stdout] 78 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),));
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 81 |         assert_ok!(Democracy::blacklist(RuntimeOrigin::root(), hash, None));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:81:35
[INFO] [stdout]    |
[INFO] [stdout] 81 |         assert_ok!(Democracy::blacklist(RuntimeOrigin::root(), hash, None));
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:84:16
[INFO] [stdout]    |
[INFO] [stdout] 84 |         assert_noop!(Democracy::referendum_status(0), Error::<Test>::ReferendumInvalid);
[INFO] [stdout]    |                      ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 |             Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2)),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:87:32
[INFO] [stdout]    |
[INFO] [stdout] 87 |             Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2)),
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:98:4
[INFO] [stdout]    |
[INFO] [stdout] 98 |             Democracy::external_propose(RuntimeOrigin::signed(1), set_balance_proposal(2),),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:98:32
[INFO] [stdout]    |
[INFO] [stdout] 98 |             Democracy::external_propose(RuntimeOrigin::signed(1), set_balance_proposal(2),),
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:101:14
[INFO] [stdout]     |
[INFO] [stdout] 101 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/external_proposing.rs:101:42
[INFO] [stdout]     |
[INFO] [stdout] 101 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:103:4
[INFO] [stdout]     |
[INFO] [stdout] 103 |             Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(1),),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/external_proposing.rs:103:32
[INFO] [stdout]     |
[INFO] [stdout] 103 |             Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(1),),
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 |             Democracy::referendum_status(0),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:125:4
[INFO] [stdout]     |
[INFO] [stdout] 125 |             Democracy::external_propose_majority(RuntimeOrigin::signed(1), set_balance_proposal(2)),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/external_proposing.rs:125:41
[INFO] [stdout]     |
[INFO] [stdout] 125 |             Democracy::external_propose_majority(RuntimeOrigin::signed(1), set_balance_proposal(2)),
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:128:14
[INFO] [stdout]     |
[INFO] [stdout] 128 |         assert_ok!(Democracy::external_propose_majority(
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/external_proposing.rs:129:4
[INFO] [stdout]     |
[INFO] [stdout] 129 |             RuntimeOrigin::signed(3),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 |             Democracy::referendum_status(0),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:151:4
[INFO] [stdout]     |
[INFO] [stdout] 151 |             Democracy::external_propose_default(RuntimeOrigin::signed(3), set_balance_proposal(2)),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/external_proposing.rs:151:40
[INFO] [stdout]     |
[INFO] [stdout] 151 |             Democracy::external_propose_default(RuntimeOrigin::signed(3), set_balance_proposal(2)),
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:154:14
[INFO] [stdout]     |
[INFO] [stdout] 154 |         assert_ok!(Democracy::external_propose_default(
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/external_proposing.rs:155:4
[INFO] [stdout]     |
[INFO] [stdout] 155 |             RuntimeOrigin::signed(1),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:160:4
[INFO] [stdout]     |
[INFO] [stdout] 160 |             Democracy::referendum_status(0),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:176:14
[INFO] [stdout]     |
[INFO] [stdout] 176 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(1),));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/external_proposing.rs:176:42
[INFO] [stdout]     |
[INFO] [stdout] 176 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(1),));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:183:4
[INFO] [stdout]     |
[INFO] [stdout] 183 |             Democracy::referendum_status(0),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:193:14
[INFO] [stdout]     |
[INFO] [stdout] 193 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(3),));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/external_proposing.rs:193:42
[INFO] [stdout]     |
[INFO] [stdout] 193 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(3),));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:199:4
[INFO] [stdout]     |
[INFO] [stdout] 199 |             Democracy::referendum_status(1),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:214:4
[INFO] [stdout]     |
[INFO] [stdout] 214 |             Democracy::referendum_status(2),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:224:14
[INFO] [stdout]     |
[INFO] [stdout] 224 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(5),));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/external_proposing.rs:224:42
[INFO] [stdout]     |
[INFO] [stdout] 224 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(5),));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:230:4
[INFO] [stdout]     |
[INFO] [stdout] 230 |             Democracy::referendum_status(3),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:240:14
[INFO] [stdout]     |
[INFO] [stdout] 240 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(7),));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/external_proposing.rs:240:42
[INFO] [stdout]     |
[INFO] [stdout] 240 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(7),));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:247:4
[INFO] [stdout]     |
[INFO] [stdout] 247 |             Democracy::referendum_status(4),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:260:14
[INFO] [stdout]     |
[INFO] [stdout] 260 |         assert_ok!(Democracy::veto_external(RuntimeOrigin::signed(3), h));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/external_proposing.rs:260:39
[INFO] [stdout]     |
[INFO] [stdout] 260 |         assert_ok!(Democracy::veto_external(RuntimeOrigin::signed(3), h));
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:266:4
[INFO] [stdout]     |
[INFO] [stdout] 266 |             Democracy::referendum_status(5),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 |             Democracy::fast_track(RuntimeOrigin::signed(5), h, 3, 2),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:28:26
[INFO] [stdout]    |
[INFO] [stdout] 28 |             Democracy::fast_track(RuntimeOrigin::signed(5), h, 3, 2),
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |         assert_ok!(Democracy::external_propose_majority(
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 |             RuntimeOrigin::signed(3),
[INFO] [stdout]    |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:35:16
[INFO] [stdout]    |
[INFO] [stdout] 35 |         assert_noop!(Democracy::fast_track(RuntimeOrigin::signed(1), h, 3, 2), BadOrigin);
[INFO] [stdout]    |                      ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:35:38
[INFO] [stdout]    |
[INFO] [stdout] 35 |         assert_noop!(Democracy::fast_track(RuntimeOrigin::signed(1), h, 3, 2), BadOrigin);
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |         assert_ok!(Democracy::fast_track(RuntimeOrigin::signed(5), h, 2, 0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:36:36
[INFO] [stdout]    |
[INFO] [stdout] 36 |         assert_ok!(Democracy::fast_track(RuntimeOrigin::signed(5), h, 2, 0));
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 |             Democracy::referendum_status(0),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 |             Democracy::fast_track(RuntimeOrigin::signed(5), h, 3, 2),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:56:26
[INFO] [stdout]    |
[INFO] [stdout] 56 |             Democracy::fast_track(RuntimeOrigin::signed(5), h, 3, 2),
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:59:14
[INFO] [stdout]    |
[INFO] [stdout] 59 |         assert_ok!(Democracy::external_propose_majority(
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 |             RuntimeOrigin::signed(3),
[INFO] [stdout]    |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:63:16
[INFO] [stdout]    |
[INFO] [stdout] 63 |         assert_noop!(Democracy::fast_track(RuntimeOrigin::signed(1), h, 3, 2), BadOrigin);
[INFO] [stdout]    |                      ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:63:38
[INFO] [stdout]    |
[INFO] [stdout] 63 |         assert_noop!(Democracy::fast_track(RuntimeOrigin::signed(1), h, 3, 2), BadOrigin);
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:64:16
[INFO] [stdout]    |
[INFO] [stdout] 64 |         assert_noop!(Democracy::fast_track(RuntimeOrigin::signed(5), h, 1, 0), BadOrigin);
[INFO] [stdout]    |                      ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:64:38
[INFO] [stdout]    |
[INFO] [stdout] 64 |         assert_noop!(Democracy::fast_track(RuntimeOrigin::signed(5), h, 1, 0), BadOrigin);
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 |             Democracy::fast_track(RuntimeOrigin::signed(6), h, 1, 0),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:66:26
[INFO] [stdout]    |
[INFO] [stdout] 66 |             Democracy::fast_track(RuntimeOrigin::signed(6), h, 1, 0),
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 |             Democracy::fast_track(RuntimeOrigin::signed(6), h, 0, 0),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:71:26
[INFO] [stdout]    |
[INFO] [stdout] 71 |             Democracy::fast_track(RuntimeOrigin::signed(6), h, 0, 0),
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:74:14
[INFO] [stdout]    |
[INFO] [stdout] 74 |         assert_ok!(Democracy::fast_track(RuntimeOrigin::signed(6), h, 1, 0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:74:36
[INFO] [stdout]    |
[INFO] [stdout] 74 |         assert_ok!(Democracy::fast_track(RuntimeOrigin::signed(6), h, 1, 0));
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:76:4
[INFO] [stdout]    |
[INFO] [stdout] 76 |             Democracy::referendum_status(0),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:104:14
[INFO] [stdout]     |
[INFO] [stdout] 104 |         assert_ok!(Democracy::external_propose_majority(
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:105:4
[INFO] [stdout]     |
[INFO] [stdout] 105 |             RuntimeOrigin::signed(majority_origin_id),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:110:14
[INFO] [stdout]     |
[INFO] [stdout] 110 |         assert_ok!(Democracy::fast_track(
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:111:4
[INFO] [stdout]     |
[INFO] [stdout] 111 |             RuntimeOrigin::signed(instant_origin_id),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:119:4
[INFO] [stdout]     |
[INFO] [stdout] 119 |             Democracy::referendum_status(0),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:133:16
[INFO] [stdout]     |
[INFO] [stdout] 133 |         assert_noop!(Democracy::referendum_status(0), Error::<Test>::ReferendumInvalid);
[INFO] [stdout]     |                      ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:147:14
[INFO] [stdout]     |
[INFO] [stdout] 147 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:147:42
[INFO] [stdout]     |
[INFO] [stdout] 147 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2)));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:149:4
[INFO] [stdout]     |
[INFO] [stdout] 149 |             Democracy::fast_track(RuntimeOrigin::signed(5), h, 3, 2),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:149:26
[INFO] [stdout]     |
[INFO] [stdout] 149 |             Democracy::fast_track(RuntimeOrigin::signed(5), h, 3, 2),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:44:11
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let r = Democracy::inject_referendum(
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:50:14
[INFO] [stdout]    |
[INFO] [stdout] 50 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(5, 10)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:50:30
[INFO] [stdout]    |
[INFO] [stdout] 50 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(5, 10)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 51 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(4, 20)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:51:30
[INFO] [stdout]    |
[INFO] [stdout] 51 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(4, 20)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 52 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, aye(3, 30)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:52:30
[INFO] [stdout]    |
[INFO] [stdout] 52 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, aye(3, 30)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 53 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(4), r, aye(2, 40)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:53:30
[INFO] [stdout]    |
[INFO] [stdout] 53 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(4), r, aye(2, 40)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, nay(1, 50)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:54:30
[INFO] [stdout]    |
[INFO] [stdout] 54 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, nay(1, 50)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/lock_voting.rs:59:15
[INFO] [stdout]    |
[INFO] [stdout] 59 |             assert_eq!(Balances::locks(i), vec![the_lock(i * 10)]);
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        use of undeclared type `Balances`
[INFO] [stdout]    |                        help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(1), r));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:65:37
[INFO] [stdout]    |
[INFO] [stdout] 65 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(1), r));
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:66:14
[INFO] [stdout]    |
[INFO] [stdout] 66 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 1));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:66:32
[INFO] [stdout]    |
[INFO] [stdout] 66 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 1));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:68:14
[INFO] [stdout]    |
[INFO] [stdout] 68 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(2), 5, r));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:68:43
[INFO] [stdout]    |
[INFO] [stdout] 68 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(2), 5, r));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(2), 5));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:69:32
[INFO] [stdout]    |
[INFO] [stdout] 69 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(2), 5));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 2, r),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:73:33
[INFO] [stdout]    |
[INFO] [stdout] 73 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 2, r),
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:77:14
[INFO] [stdout]    |
[INFO] [stdout] 77 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(2), r));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:77:37
[INFO] [stdout]    |
[INFO] [stdout] 77 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(2), r));
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:78:14
[INFO] [stdout]    |
[INFO] [stdout] 78 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(2), 2));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:78:32
[INFO] [stdout]    |
[INFO] [stdout] 78 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(2), 2));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/lock_voting.rs:80:14
[INFO] [stdout]    |
[INFO] [stdout] 80 |         assert_eq!(Balances::locks(1), vec![]);
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    use of undeclared type `Balances`
[INFO] [stdout]    |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/lock_voting.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 81 |         assert_eq!(Balances::locks(2), vec![the_lock(20)]);
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    use of undeclared type `Balances`
[INFO] [stdout]    |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/lock_voting.rs:82:14
[INFO] [stdout]    |
[INFO] [stdout] 82 |         assert_eq!(Balances::locks(3), vec![the_lock(30)]);
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    use of undeclared type `Balances`
[INFO] [stdout]    |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/lock_voting.rs:83:14
[INFO] [stdout]    |
[INFO] [stdout] 83 |         assert_eq!(Balances::locks(4), vec![the_lock(40)]);
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    use of undeclared type `Balances`
[INFO] [stdout]    |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/lock_voting.rs:84:14
[INFO] [stdout]    |
[INFO] [stdout] 84 |         assert_eq!(Balances::locks(5), vec![]);
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    use of undeclared type `Balances`
[INFO] [stdout]    |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/lock_voting.rs:85:14
[INFO] [stdout]    |
[INFO] [stdout] 85 |         assert_eq!(Balances::free_balance(42), 2);
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    use of undeclared type `Balances`
[INFO] [stdout]    |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 90 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 4, r),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:90:33
[INFO] [stdout]    |
[INFO] [stdout] 90 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 4, r),
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:93:14
[INFO] [stdout]    |
[INFO] [stdout] 93 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 4));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:93:32
[INFO] [stdout]    |
[INFO] [stdout] 93 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 4));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/lock_voting.rs:94:14
[INFO] [stdout]    |
[INFO] [stdout] 94 |         assert_eq!(Balances::locks(4), vec![the_lock(40)]);
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    use of undeclared type `Balances`
[INFO] [stdout]    |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:97:14
[INFO] [stdout]    |
[INFO] [stdout] 97 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 4, r));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:97:43
[INFO] [stdout]    |
[INFO] [stdout] 97 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 4, r));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:98:14
[INFO] [stdout]    |
[INFO] [stdout] 98 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 4));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:98:32
[INFO] [stdout]    |
[INFO] [stdout] 98 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 4));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/lock_voting.rs:99:14
[INFO] [stdout]    |
[INFO] [stdout] 99 |         assert_eq!(Balances::locks(4), vec![]);
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    use of undeclared type `Balances`
[INFO] [stdout]    |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:103:4
[INFO] [stdout]     |
[INFO] [stdout] 103 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 3, r),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:103:33
[INFO] [stdout]     |
[INFO] [stdout] 103 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 3, r),
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:106:14
[INFO] [stdout]     |
[INFO] [stdout] 106 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 3));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:106:32
[INFO] [stdout]     |
[INFO] [stdout] 106 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 3));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:107:14
[INFO] [stdout]     |
[INFO] [stdout] 107 |         assert_eq!(Balances::locks(3), vec![the_lock(30)]);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:109:14
[INFO] [stdout]     |
[INFO] [stdout] 109 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 3, r));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:109:43
[INFO] [stdout]     |
[INFO] [stdout] 109 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 3, r));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:110:14
[INFO] [stdout]     |
[INFO] [stdout] 110 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 3));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:110:32
[INFO] [stdout]     |
[INFO] [stdout] 110 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 3));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:111:14
[INFO] [stdout]     |
[INFO] [stdout] 111 |         assert_eq!(Balances::locks(3), vec![]);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:115:14
[INFO] [stdout]     |
[INFO] [stdout] 115 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 2));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:115:32
[INFO] [stdout]     |
[INFO] [stdout] 115 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 2));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:116:14
[INFO] [stdout]     |
[INFO] [stdout] 116 |         assert_eq!(Balances::locks(2), vec![the_lock(20)]);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:118:14
[INFO] [stdout]     |
[INFO] [stdout] 118 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 2));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:118:32
[INFO] [stdout]     |
[INFO] [stdout] 118 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 2));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:119:14
[INFO] [stdout]     |
[INFO] [stdout] 119 |         assert_eq!(Balances::locks(2), vec![]);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:127:11
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let r = Democracy::inject_referendum(
[INFO] [stdout]     |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:133:14
[INFO] [stdout]     |
[INFO] [stdout] 133 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(0, 10)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:133:30
[INFO] [stdout]     |
[INFO] [stdout] 133 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(0, 10)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:137:14
[INFO] [stdout]     |
[INFO] [stdout] 137 |         assert_eq!(Balances::free_balance(42), 2);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:138:14
[INFO] [stdout]     |
[INFO] [stdout] 138 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(2), 1, r));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:138:43
[INFO] [stdout]     |
[INFO] [stdout] 138 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(2), 1, r));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:139:14
[INFO] [stdout]     |
[INFO] [stdout] 139 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(2), 1));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:139:32
[INFO] [stdout]     |
[INFO] [stdout] 139 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(2), 1));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:140:14
[INFO] [stdout]     |
[INFO] [stdout] 140 |         assert_eq!(Balances::locks(1), vec![]);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:147:11
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let r = Democracy::inject_referendum(
[INFO] [stdout]     |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:153:14
[INFO] [stdout]     |
[INFO] [stdout] 153 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(5, 10)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:153:30
[INFO] [stdout]     |
[INFO] [stdout] 153 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(5, 10)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:154:14
[INFO] [stdout]     |
[INFO] [stdout] 154 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(4, 20)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:154:30
[INFO] [stdout]     |
[INFO] [stdout] 154 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(4, 20)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:155:14
[INFO] [stdout]     |
[INFO] [stdout] 155 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, aye(3, 30)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:155:30
[INFO] [stdout]     |
[INFO] [stdout] 155 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, aye(3, 30)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:156:14
[INFO] [stdout]     |
[INFO] [stdout] 156 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(4), 2, Conviction::Locked2x, 40));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:156:34
[INFO] [stdout]     |
[INFO] [stdout] 156 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(4), 2, Conviction::Locked2x, 40));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:157:14
[INFO] [stdout]     |
[INFO] [stdout] 157 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, nay(1, 50)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:157:30
[INFO] [stdout]     |
[INFO] [stdout] 157 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, nay(1, 50)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:164:14
[INFO] [stdout]     |
[INFO] [stdout] 164 |         assert_eq!(Balances::free_balance(42), 2);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:171:3
[INFO] [stdout]     |
[INFO] [stdout] 171 |         Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SimpleMajority, 0);
[INFO] [stdout]     |         ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:172:13
[INFO] [stdout]     |
[INFO] [stdout] 172 |     assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r1, aye(4, 10)));
[INFO] [stdout]     |                ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:172:29
[INFO] [stdout]     |
[INFO] [stdout] 172 |     assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r1, aye(4, 10)));
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:175:3
[INFO] [stdout]     |
[INFO] [stdout] 175 |         Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SimpleMajority, 0);
[INFO] [stdout]     |         ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:176:13
[INFO] [stdout]     |
[INFO] [stdout] 176 |     assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r2, aye(3, 20)));
[INFO] [stdout]     |                ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:176:29
[INFO] [stdout]     |
[INFO] [stdout] 176 |     assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r2, aye(3, 20)));
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:179:3
[INFO] [stdout]     |
[INFO] [stdout] 179 |         Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SimpleMajority, 0);
[INFO] [stdout]     |         ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:180:13
[INFO] [stdout]     |
[INFO] [stdout] 180 |     assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r3, aye(2, 50)));
[INFO] [stdout]     |                ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:180:29
[INFO] [stdout]     |
[INFO] [stdout] 180 |     assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r3, aye(2, 50)));
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:197:4
[INFO] [stdout]     |
[INFO] [stdout] 197 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.2),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:197:33
[INFO] [stdout]     |
[INFO] [stdout] 197 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.2),
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:200:14
[INFO] [stdout]     |
[INFO] [stdout] 200 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:200:32
[INFO] [stdout]     |
[INFO] [stdout] 200 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:201:14
[INFO] [stdout]     |
[INFO] [stdout] 201 |         assert_eq!(Balances::locks(5), vec![the_lock(50)]);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:203:14
[INFO] [stdout]     |
[INFO] [stdout] 203 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.2));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:203:43
[INFO] [stdout]     |
[INFO] [stdout] 203 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.2));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:204:14
[INFO] [stdout]     |
[INFO] [stdout] 204 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:204:32
[INFO] [stdout]     |
[INFO] [stdout] 204 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:205:14
[INFO] [stdout]     |
[INFO] [stdout] 205 |         assert_eq!(Balances::locks(5), vec![the_lock(20)]);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:208:4
[INFO] [stdout]     |
[INFO] [stdout] 208 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.1),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:208:33
[INFO] [stdout]     |
[INFO] [stdout] 208 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.1),
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:211:14
[INFO] [stdout]     |
[INFO] [stdout] 211 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:211:32
[INFO] [stdout]     |
[INFO] [stdout] 211 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:212:14
[INFO] [stdout]     |
[INFO] [stdout] 212 |         assert_eq!(Balances::locks(5), vec![the_lock(20)]);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:214:14
[INFO] [stdout]     |
[INFO] [stdout] 214 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.1));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:214:43
[INFO] [stdout]     |
[INFO] [stdout] 214 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.1));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:215:14
[INFO] [stdout]     |
[INFO] [stdout] 215 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:215:32
[INFO] [stdout]     |
[INFO] [stdout] 215 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:216:14
[INFO] [stdout]     |
[INFO] [stdout] 216 |         assert_eq!(Balances::locks(5), vec![the_lock(10)]);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:219:4
[INFO] [stdout]     |
[INFO] [stdout] 219 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.0),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:219:33
[INFO] [stdout]     |
[INFO] [stdout] 219 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.0),
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:222:14
[INFO] [stdout]     |
[INFO] [stdout] 222 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:222:32
[INFO] [stdout]     |
[INFO] [stdout] 222 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:223:14
[INFO] [stdout]     |
[INFO] [stdout] 223 |         assert_eq!(Balances::locks(5), vec![the_lock(10)]);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:225:14
[INFO] [stdout]     |
[INFO] [stdout] 225 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.0));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:225:43
[INFO] [stdout]     |
[INFO] [stdout] 225 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.0));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:226:14
[INFO] [stdout]     |
[INFO] [stdout] 226 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:226:32
[INFO] [stdout]     |
[INFO] [stdout] 226 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:227:14
[INFO] [stdout]     |
[INFO] [stdout] 227 |         assert_eq!(Balances::locks(5), vec![]);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:240:14
[INFO] [stdout]     |
[INFO] [stdout] 240 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.2));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:240:37
[INFO] [stdout]     |
[INFO] [stdout] 240 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.2));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:241:14
[INFO] [stdout]     |
[INFO] [stdout] 241 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:241:32
[INFO] [stdout]     |
[INFO] [stdout] 241 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:242:14
[INFO] [stdout]     |
[INFO] [stdout] 242 |         assert_eq!(Balances::locks(5), vec![the_lock(50)]);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:244:14
[INFO] [stdout]     |
[INFO] [stdout] 244 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:244:32
[INFO] [stdout]     |
[INFO] [stdout] 244 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:245:14
[INFO] [stdout]     |
[INFO] [stdout] 245 |         assert_eq!(Balances::locks(5), vec![the_lock(20)]);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:248:14
[INFO] [stdout]     |
[INFO] [stdout] 248 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.1));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:248:37
[INFO] [stdout]     |
[INFO] [stdout] 248 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.1));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:249:14
[INFO] [stdout]     |
[INFO] [stdout] 249 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:249:32
[INFO] [stdout]     |
[INFO] [stdout] 249 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:250:14
[INFO] [stdout]     |
[INFO] [stdout] 250 |         assert_eq!(Balances::locks(5), vec![the_lock(20)]);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:252:14
[INFO] [stdout]     |
[INFO] [stdout] 252 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:252:32
[INFO] [stdout]     |
[INFO] [stdout] 252 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:253:14
[INFO] [stdout]     |
[INFO] [stdout] 253 |         assert_eq!(Balances::locks(5), vec![the_lock(10)]);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:256:14
[INFO] [stdout]     |
[INFO] [stdout] 256 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.0));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:256:37
[INFO] [stdout]     |
[INFO] [stdout] 256 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.0));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:257:14
[INFO] [stdout]     |
[INFO] [stdout] 257 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:257:32
[INFO] [stdout]     |
[INFO] [stdout] 257 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:258:14
[INFO] [stdout]     |
[INFO] [stdout] 258 |         assert_eq!(Balances::locks(5), vec![the_lock(10)]);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:260:14
[INFO] [stdout]     |
[INFO] [stdout] 260 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:260:32
[INFO] [stdout]     |
[INFO] [stdout] 260 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:261:14
[INFO] [stdout]     |
[INFO] [stdout] 261 |         assert_eq!(Balances::locks(5), vec![]);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:273:14
[INFO] [stdout]     |
[INFO] [stdout] 273 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.2));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:273:37
[INFO] [stdout]     |
[INFO] [stdout] 273 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.2));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:274:14
[INFO] [stdout]     |
[INFO] [stdout] 274 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.1));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:274:37
[INFO] [stdout]     |
[INFO] [stdout] 274 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.1));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:275:14
[INFO] [stdout]     |
[INFO] [stdout] 275 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.0));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:275:37
[INFO] [stdout]     |
[INFO] [stdout] 275 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.0));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:278:14
[INFO] [stdout]     |
[INFO] [stdout] 278 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:278:32
[INFO] [stdout]     |
[INFO] [stdout] 278 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:279:11
[INFO] [stdout]     |
[INFO] [stdout] 279 |         assert!(Balances::locks(5)[0].amount >= 20);
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Balances`
[INFO] [stdout]     |                 help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:282:14
[INFO] [stdout]     |
[INFO] [stdout] 282 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:282:32
[INFO] [stdout]     |
[INFO] [stdout] 282 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:283:11
[INFO] [stdout]     |
[INFO] [stdout] 283 |         assert!(Balances::locks(5)[0].amount >= 10);
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Balances`
[INFO] [stdout]     |                 help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:286:14
[INFO] [stdout]     |
[INFO] [stdout] 286 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:286:32
[INFO] [stdout]     |
[INFO] [stdout] 286 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:287:14
[INFO] [stdout]     |
[INFO] [stdout] 287 |         assert_eq!(Balances::locks(5), vec![]);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:295:11
[INFO] [stdout]     |
[INFO] [stdout] 295 |         let r = Democracy::inject_referendum(
[INFO] [stdout]     |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:301:14
[INFO] [stdout]     |
[INFO] [stdout] 301 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, aye(4, 10)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:301:30
[INFO] [stdout]     |
[INFO] [stdout] 301 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, aye(4, 10)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:303:14
[INFO] [stdout]     |
[INFO] [stdout] 303 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:303:37
[INFO] [stdout]     |
[INFO] [stdout] 303 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:306:14
[INFO] [stdout]     |
[INFO] [stdout] 306 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(5), 1, Conviction::Locked3x, 20));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:306:34
[INFO] [stdout]     |
[INFO] [stdout] 306 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(5), 1, Conviction::Locked3x, 20));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:308:11
[INFO] [stdout]     |
[INFO] [stdout] 308 |         assert!(Balances::locks(5)[0].amount == 20);
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Balances`
[INFO] [stdout]     |                 help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:310:14
[INFO] [stdout]     |
[INFO] [stdout] 310 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(5)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:310:36
[INFO] [stdout]     |
[INFO] [stdout] 310 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(5)));
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:314:14
[INFO] [stdout]     |
[INFO] [stdout] 314 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:314:32
[INFO] [stdout]     |
[INFO] [stdout] 314 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:315:11
[INFO] [stdout]     |
[INFO] [stdout] 315 |         assert!(Balances::locks(5)[0].amount == 20);
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Balances`
[INFO] [stdout]     |                 help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:318:14
[INFO] [stdout]     |
[INFO] [stdout] 318 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:318:32
[INFO] [stdout]     |
[INFO] [stdout] 318 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:319:11
[INFO] [stdout]     |
[INFO] [stdout] 319 |         assert!(Balances::locks(5)[0].amount >= 10);
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Balances`
[INFO] [stdout]     |                 help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:322:14
[INFO] [stdout]     |
[INFO] [stdout] 322 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:322:32
[INFO] [stdout]     |
[INFO] [stdout] 322 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:323:11
[INFO] [stdout]     |
[INFO] [stdout] 323 |         assert!(Balances::locks(5)[0].amount >= 10);
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Balances`
[INFO] [stdout]     |                 help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:326:14
[INFO] [stdout]     |
[INFO] [stdout] 326 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:326:32
[INFO] [stdout]     |
[INFO] [stdout] 326 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:327:14
[INFO] [stdout]     |
[INFO] [stdout] 327 |         assert_eq!(Balances::locks(5), vec![]);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:335:14
[INFO] [stdout]     |
[INFO] [stdout] 335 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(5), 1, Conviction::Locked5x, 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:335:34
[INFO] [stdout]     |
[INFO] [stdout] 335 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(5), 1, Conviction::Locked5x, 5));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:336:14
[INFO] [stdout]     |
[INFO] [stdout] 336 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(5)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:336:36
[INFO] [stdout]     |
[INFO] [stdout] 336 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(5)));
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:344:14
[INFO] [stdout]     |
[INFO] [stdout] 344 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.2));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:344:37
[INFO] [stdout]     |
[INFO] [stdout] 344 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.2));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:345:14
[INFO] [stdout]     |
[INFO] [stdout] 345 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.1));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:345:37
[INFO] [stdout]     |
[INFO] [stdout] 345 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.1));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:346:14
[INFO] [stdout]     |
[INFO] [stdout] 346 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.0));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:346:37
[INFO] [stdout]     |
[INFO] [stdout] 346 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.0));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:349:14
[INFO] [stdout]     |
[INFO] [stdout] 349 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:349:32
[INFO] [stdout]     |
[INFO] [stdout] 349 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:350:11
[INFO] [stdout]     |
[INFO] [stdout] 350 |         assert!(Balances::locks(5)[0].amount >= 20);
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Balances`
[INFO] [stdout]     |                 help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:353:14
[INFO] [stdout]     |
[INFO] [stdout] 353 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:353:32
[INFO] [stdout]     |
[INFO] [stdout] 353 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:354:11
[INFO] [stdout]     |
[INFO] [stdout] 354 |         assert!(Balances::locks(5)[0].amount >= 10);
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Balances`
[INFO] [stdout]     |                 help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:357:14
[INFO] [stdout]     |
[INFO] [stdout] 357 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:357:32
[INFO] [stdout]     |
[INFO] [stdout] 357 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:358:11
[INFO] [stdout]     |
[INFO] [stdout] 358 |         assert!(Balances::locks(5)[0].amount >= 5);
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Balances`
[INFO] [stdout]     |                 help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:361:14
[INFO] [stdout]     |
[INFO] [stdout] 361 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:361:32
[INFO] [stdout]     |
[INFO] [stdout] 361 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:362:14
[INFO] [stdout]     |
[INFO] [stdout] 362 |         assert_eq!(Balances::locks(5), vec![]);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 |         assert_eq!(Democracy::backing_for(0), Some(2));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |         assert_eq!(Democracy::backing_for(1), Some(4));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |         assert_eq!(Democracy::backing_for(2), Some(3));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(2), 0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/public_proposals.rs:38:32
[INFO] [stdout]    |
[INFO] [stdout] 38 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(2), 0));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:39:14
[INFO] [stdout]    |
[INFO] [stdout] 39 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/public_proposals.rs:39:32
[INFO] [stdout]    |
[INFO] [stdout] 39 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 0));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/public_proposals.rs:40:32
[INFO] [stdout]    |
[INFO] [stdout] 40 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 0));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/public_proposals.rs:41:32
[INFO] [stdout]    |
[INFO] [stdout] 41 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 0));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/public_proposals.rs:42:14
[INFO] [stdout]    |
[INFO] [stdout] 42 |         assert_eq!(Balances::free_balance(1), 5);
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    use of undeclared type `Balances`
[INFO] [stdout]    |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/public_proposals.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |         assert_eq!(Balances::free_balance(2), 15);
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    use of undeclared type `Balances`
[INFO] [stdout]    |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/public_proposals.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 |         assert_eq!(Balances::free_balance(5), 35);
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    use of undeclared type `Balances`
[INFO] [stdout]    |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 52 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(2), 0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/public_proposals.rs:52:32
[INFO] [stdout]    |
[INFO] [stdout] 52 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(2), 0));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 53 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/public_proposals.rs:53:32
[INFO] [stdout]    |
[INFO] [stdout] 53 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 0));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/public_proposals.rs:54:32
[INFO] [stdout]    |
[INFO] [stdout] 54 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 0));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 55 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/public_proposals.rs:55:32
[INFO] [stdout]    |
[INFO] [stdout] 55 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 0));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/public_proposals.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 |         assert_eq!(Balances::free_balance(1), 10);
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    use of undeclared type `Balances`
[INFO] [stdout]    |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/public_proposals.rs:58:14
[INFO] [stdout]    |
[INFO] [stdout] 58 |         assert_eq!(Balances::free_balance(2), 20);
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    use of undeclared type `Balances`
[INFO] [stdout]    |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/public_proposals.rs:59:14
[INFO] [stdout]    |
[INFO] [stdout] 59 |         assert_eq!(Balances::free_balance(5), 50);
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    use of undeclared type `Balances`
[INFO] [stdout]    |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 |             Democracy::second(RuntimeOrigin::signed(1), 0),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/public_proposals.rs:82:22
[INFO] [stdout]    |
[INFO] [stdout] 82 |             Democracy::second(RuntimeOrigin::signed(1), 0),
[INFO] [stdout]    |                               ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:93:16
[INFO] [stdout]    |
[INFO] [stdout] 93 |         assert_noop!(Democracy::cancel_proposal(RuntimeOrigin::signed(1), 0), BadOrigin);
[INFO] [stdout]    |                      ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/public_proposals.rs:93:43
[INFO] [stdout]    |
[INFO] [stdout] 93 |         assert_noop!(Democracy::cancel_proposal(RuntimeOrigin::signed(1), 0), BadOrigin);
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:94:14
[INFO] [stdout]    |
[INFO] [stdout] 94 |         assert_ok!(Democracy::cancel_proposal(RuntimeOrigin::root(), 0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/public_proposals.rs:94:41
[INFO] [stdout]    |
[INFO] [stdout] 94 |         assert_ok!(Democracy::cancel_proposal(RuntimeOrigin::root(), 0));
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:96:14
[INFO] [stdout]    |
[INFO] [stdout] 96 |         assert_eq!(Democracy::backing_for(0), None);
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:97:14
[INFO] [stdout]    |
[INFO] [stdout] 97 |         assert_eq!(Democracy::backing_for(1), Some(4));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:110:16
[INFO] [stdout]     |
[INFO] [stdout] 110 |         assert_noop!(Democracy::blacklist(RuntimeOrigin::signed(1), hash, None), BadOrigin);
[INFO] [stdout]     |                      ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/public_proposals.rs:110:37
[INFO] [stdout]     |
[INFO] [stdout] 110 |         assert_noop!(Democracy::blacklist(RuntimeOrigin::signed(1), hash, None), BadOrigin);
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:111:14
[INFO] [stdout]     |
[INFO] [stdout] 111 |         assert_ok!(Democracy::blacklist(RuntimeOrigin::root(), hash, None));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/public_proposals.rs:111:35
[INFO] [stdout]     |
[INFO] [stdout] 111 |         assert_ok!(Democracy::blacklist(RuntimeOrigin::root(), hash, None));
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:113:14
[INFO] [stdout]     |
[INFO] [stdout] 113 |         assert_eq!(Democracy::backing_for(0), None);
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:114:14
[INFO] [stdout]     |
[INFO] [stdout] 114 |         assert_eq!(Democracy::backing_for(1), Some(4));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 121 |         assert_ok!(Democracy::referendum_status(0));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:122:14
[INFO] [stdout]     |
[INFO] [stdout] 122 |         assert_ok!(Democracy::blacklist(RuntimeOrigin::root(), hash, Some(0)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/public_proposals.rs:122:35
[INFO] [stdout]     |
[INFO] [stdout] 122 |         assert_ok!(Democracy::blacklist(RuntimeOrigin::root(), hash, Some(0)));
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:123:16
[INFO] [stdout]     |
[INFO] [stdout] 123 |         assert_noop!(Democracy::referendum_status(0), Error::<Test>::ReferendumInvalid);
[INFO] [stdout]     |                      ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:135:14
[INFO] [stdout]     |
[INFO] [stdout] 135 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), 0, aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/public_proposals.rs:135:30
[INFO] [stdout]     |
[INFO] [stdout] 135 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), 0, aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:137:14
[INFO] [stdout]     |
[INFO] [stdout] 137 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), 1, aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/public_proposals.rs:137:30
[INFO] [stdout]     |
[INFO] [stdout] 137 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), 1, aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:139:14
[INFO] [stdout]     |
[INFO] [stdout] 139 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), 2, aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/public_proposals.rs:139:30
[INFO] [stdout]     |
[INFO] [stdout] 139 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), 2, aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/scheduling.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let r = Democracy::inject_referendum(
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/scheduling.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/scheduling.rs:31:30
[INFO] [stdout]    |
[INFO] [stdout] 31 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/scheduling.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |         assert_eq!(Democracy::lowest_unbaked(), 0);
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/scheduling.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |         assert_eq!(Democracy::lowest_unbaked(), 1);
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/scheduling.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |         assert_eq!(Balances::free_balance(42), 2);
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    use of undeclared type `Balances`
[INFO] [stdout]    |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/scheduling.rs:44:11
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let r = Democracy::inject_referendum(
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/scheduling.rs:50:14
[INFO] [stdout]    |
[INFO] [stdout] 50 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(1)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/scheduling.rs:50:30
[INFO] [stdout]    |
[INFO] [stdout] 50 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(1)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/scheduling.rs:56:14
[INFO] [stdout]    |
[INFO] [stdout] 56 |         assert_eq!(Balances::free_balance(42), 0);
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    use of undeclared type `Balances`
[INFO] [stdout]    |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/scheduling.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let r1 = Democracy::inject_referendum(
[INFO] [stdout]    |                  ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/scheduling.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let r2 = Democracy::inject_referendum(
[INFO] [stdout]    |                  ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/scheduling.rs:76:14
[INFO] [stdout]    |
[INFO] [stdout] 76 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r2, aye(1)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/scheduling.rs:76:30
[INFO] [stdout]    |
[INFO] [stdout] 76 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r2, aye(1)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/scheduling.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 81 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r1, aye(1)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/scheduling.rs:81:30
[INFO] [stdout]    |
[INFO] [stdout] 81 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r1, aye(1)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/scheduling.rs:85:14
[INFO] [stdout]    |
[INFO] [stdout] 85 |         assert_eq!(Balances::free_balance(42), 2);
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    use of undeclared type `Balances`
[INFO] [stdout]    |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/scheduling.rs:88:14
[INFO] [stdout]    |
[INFO] [stdout] 88 |         assert_eq!(Balances::free_balance(42), 3);
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    use of undeclared type `Balances`
[INFO] [stdout]    |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/scheduling.rs:95:11
[INFO] [stdout]    |
[INFO] [stdout] 95 |         let r = Democracy::inject_referendum(
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:101:14
[INFO] [stdout]     |
[INFO] [stdout] 101 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/scheduling.rs:101:30
[INFO] [stdout]     |
[INFO] [stdout] 101 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:102:14
[INFO] [stdout]     |
[INFO] [stdout] 102 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(2)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/scheduling.rs:102:30
[INFO] [stdout]     |
[INFO] [stdout] 102 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(2)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:103:14
[INFO] [stdout]     |
[INFO] [stdout] 103 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, aye(3)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/scheduling.rs:103:30
[INFO] [stdout]     |
[INFO] [stdout] 103 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, aye(3)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:104:14
[INFO] [stdout]     |
[INFO] [stdout] 104 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(4), r, aye(4)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/scheduling.rs:104:30
[INFO] [stdout]     |
[INFO] [stdout] 104 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(4), r, aye(4)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:105:14
[INFO] [stdout]     |
[INFO] [stdout] 105 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, aye(5)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/scheduling.rs:105:30
[INFO] [stdout]     |
[INFO] [stdout] 105 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, aye(5)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:106:14
[INFO] [stdout]     |
[INFO] [stdout] 106 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, aye(6)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/scheduling.rs:106:30
[INFO] [stdout]     |
[INFO] [stdout] 106 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, aye(6)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/scheduling.rs:111:14
[INFO] [stdout]     |
[INFO] [stdout] 111 |         assert_eq!(Balances::free_balance(42), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/scheduling.rs:114:14
[INFO] [stdout]     |
[INFO] [stdout] 114 |         assert_eq!(Balances::free_balance(42), 2);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 121 |         let r1 = Democracy::inject_referendum(
[INFO] [stdout]     |                  ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let r2 = Democracy::inject_referendum(
[INFO] [stdout]     |                  ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let r3 = Democracy::inject_referendum(
[INFO] [stdout]     |                  ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:139:14
[INFO] [stdout]     |
[INFO] [stdout] 139 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r1, aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/scheduling.rs:139:30
[INFO] [stdout]     |
[INFO] [stdout] 139 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r1, aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:140:14
[INFO] [stdout]     |
[INFO] [stdout] 140 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r2, aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/scheduling.rs:140:30
[INFO] [stdout]     |
[INFO] [stdout] 140 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r2, aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:142:14
[INFO] [stdout]     |
[INFO] [stdout] 142 |         assert_ok!(Democracy::cancel_referendum(RuntimeOrigin::root(), r3.into()));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/scheduling.rs:142:43
[INFO] [stdout]     |
[INFO] [stdout] 142 |         assert_ok!(Democracy::cancel_referendum(RuntimeOrigin::root(), r3.into()));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:143:14
[INFO] [stdout]     |
[INFO] [stdout] 143 |         assert_eq!(Democracy::lowest_unbaked(), 0);
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:147:14
[INFO] [stdout]     |
[INFO] [stdout] 147 |         assert_eq!(Democracy::lowest_unbaked(), 0);
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:151:14
[INFO] [stdout]     |
[INFO] [stdout] 151 |         assert_eq!(Democracy::lowest_unbaked(), 3);
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:152:14
[INFO] [stdout]     |
[INFO] [stdout] 152 |         assert_eq!(Democracy::lowest_unbaked(), Democracy::referendum_count());
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:152:43
[INFO] [stdout]     |
[INFO] [stdout] 152 |         assert_eq!(Democracy::lowest_unbaked(), Democracy::referendum_count());
[INFO] [stdout]     |                                                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/scheduling.rs:155:14
[INFO] [stdout]     |
[INFO] [stdout] 155 |         assert_eq!(Balances::free_balance(42), 2);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/scheduling.rs:159:14
[INFO] [stdout]     |
[INFO] [stdout] 159 |         assert_eq!(Balances::free_balance(42), 1);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 |             Democracy::vote(RuntimeOrigin::signed(1), r, aye(2)),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/voting.rs:27:20
[INFO] [stdout]    |
[INFO] [stdout] 27 |             Democracy::vote(RuntimeOrigin::signed(1), r, aye(2)),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 |             Democracy::vote(RuntimeOrigin::signed(5), r, v),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/voting.rs:39:20
[INFO] [stdout]    |
[INFO] [stdout] 39 |             Democracy::vote(RuntimeOrigin::signed(5), r, v),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, v));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/voting.rs:43:30
[INFO] [stdout]    |
[INFO] [stdout] 43 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, v));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, v));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/voting.rs:54:30
[INFO] [stdout]    |
[INFO] [stdout] 54 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, v));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 55 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/voting.rs:55:37
[INFO] [stdout]    |
[INFO] [stdout] 55 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r));
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/voting.rs:57:32
[INFO] [stdout]    |
[INFO] [stdout] 57 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/voting.rs:58:14
[INFO] [stdout]    |
[INFO] [stdout] 58 |         assert_eq!(Balances::locks(5), vec![]);
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    use of undeclared type `Balances`
[INFO] [stdout]    |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:68:11
[INFO] [stdout]    |
[INFO] [stdout] 68 |         assert!(Democracy::referendum_info(r).is_none());
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:72:14
[INFO] [stdout]    |
[INFO] [stdout] 72 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/voting.rs:72:30
[INFO] [stdout]    |
[INFO] [stdout] 72 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:74:14
[INFO] [stdout]    |
[INFO] [stdout] 74 |         assert_eq!(Democracy::referendum_count(), 1);
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:76:4
[INFO] [stdout]    |
[INFO] [stdout] 76 |             Democracy::referendum_status(0),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:89:14
[INFO] [stdout]    |
[INFO] [stdout] 89 |         assert_ok!(Democracy::referendum_status(0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:94:16
[INFO] [stdout]    |
[INFO] [stdout] 94 |         assert_noop!(Democracy::referendum_status(0), Error::<Test>::ReferendumInvalid);
[INFO] [stdout]    |                      ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/voting.rs:100:14
[INFO] [stdout]     |
[INFO] [stdout] 100 |         assert_eq!(Balances::free_balance(42), 2);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:107:11
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let r = Democracy::inject_referendum(
[INFO] [stdout]     |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:114:14
[INFO] [stdout]     |
[INFO] [stdout] 114 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, big_aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/voting.rs:114:30
[INFO] [stdout]     |
[INFO] [stdout] 114 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, big_aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:115:14
[INFO] [stdout]     |
[INFO] [stdout] 115 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, big_nay(2)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/voting.rs:115:30
[INFO] [stdout]     |
[INFO] [stdout] 115 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, big_nay(2)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:116:14
[INFO] [stdout]     |
[INFO] [stdout] 116 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, big_nay(3)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/voting.rs:116:30
[INFO] [stdout]     |
[INFO] [stdout] 116 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, big_nay(3)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:117:14
[INFO] [stdout]     |
[INFO] [stdout] 117 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(4), r, big_aye(4)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/voting.rs:117:30
[INFO] [stdout]     |
[INFO] [stdout] 117 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(4), r, big_aye(4)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:118:14
[INFO] [stdout]     |
[INFO] [stdout] 118 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, big_nay(5)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/voting.rs:118:30
[INFO] [stdout]     |
[INFO] [stdout] 118 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, big_nay(5)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:119:14
[INFO] [stdout]     |
[INFO] [stdout] 119 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, big_aye(6)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/voting.rs:119:30
[INFO] [stdout]     |
[INFO] [stdout] 119 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, big_aye(6)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/voting.rs:126:14
[INFO] [stdout]     |
[INFO] [stdout] 126 |         assert_eq!(Balances::free_balance(42), 2);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:133:11
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let r = Democracy::inject_referendum(
[INFO] [stdout]     |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:139:14
[INFO] [stdout]     |
[INFO] [stdout] 139 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, big_nay(5)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/voting.rs:139:30
[INFO] [stdout]     |
[INFO] [stdout] 139 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, big_nay(5)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:140:14
[INFO] [stdout]     |
[INFO] [stdout] 140 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, big_aye(6)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/voting.rs:140:30
[INFO] [stdout]     |
[INFO] [stdout] 140 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, big_aye(6)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/voting.rs:147:14
[INFO] [stdout]     |
[INFO] [stdout] 147 |         assert_eq!(Balances::free_balance(42), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/voting.rs:154:14
[INFO] [stdout]     |
[INFO] [stdout] 154 |         assert_eq!(Balances::free_balance(42), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/voting.rs:155:14
[INFO] [stdout]     |
[INFO] [stdout] 155 |         assert_eq!(Balances::total_issuance(), 210);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:157:11
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let r = Democracy::inject_referendum(
[INFO] [stdout]     |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:163:14
[INFO] [stdout]     |
[INFO] [stdout] 163 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(4), r, big_aye(4)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/voting.rs:163:30
[INFO] [stdout]     |
[INFO] [stdout] 163 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(4), r, big_aye(4)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:164:14
[INFO] [stdout]     |
[INFO] [stdout] 164 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, big_nay(5)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/voting.rs:164:30
[INFO] [stdout]     |
[INFO] [stdout] 164 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, big_nay(5)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:165:14
[INFO] [stdout]     |
[INFO] [stdout] 165 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, big_aye(6)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/voting.rs:165:30
[INFO] [stdout]     |
[INFO] [stdout] 165 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, big_aye(6)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/voting.rs:170:14
[INFO] [stdout]     |
[INFO] [stdout] 170 |         assert_eq!(Balances::free_balance(42), 2);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests.rs:217:14
[INFO] [stdout]     |
[INFO] [stdout] 217 |         assert_eq!(Democracy::referendum_count(), 0);
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:218:14
[INFO] [stdout]     |
[INFO] [stdout] 218 |         assert_eq!(Balances::free_balance(42), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:219:14
[INFO] [stdout]     |
[INFO] [stdout] 219 |         assert_eq!(Balances::total_issuance(), 210);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall`
[INFO] [stdout]    --> src/tests.rs:225:14
[INFO] [stdout]     |
[INFO] [stdout] 225 |     let outer = RuntimeCall::Balances(inner);
[INFO] [stdout]     |                 ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage`
[INFO] [stdout]    --> src/tests.rs:226:2
[INFO] [stdout]     |
[INFO] [stdout] 226 |     Preimage::bound(outer).unwrap()
[INFO] [stdout]     |     ^^^^^^^^ use of undeclared type `Preimage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage`
[INFO] [stdout]    --> src/tests.rs:232:14
[INFO] [stdout]     |
[INFO] [stdout] 232 |         let call = Preimage::realize(&set_balance_proposal(i)).unwrap().0;
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared type `Preimage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests.rs:238:2
[INFO] [stdout]     |
[INFO] [stdout] 238 |     Democracy::propose(RuntimeOrigin::signed(who), set_balance_proposal(value), delay)
[INFO] [stdout]     |     ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:238:21
[INFO] [stdout]     |
[INFO] [stdout] 238 |     Democracy::propose(RuntimeOrigin::signed(who), set_balance_proposal(value), delay)
[INFO] [stdout]     |                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scheduler`
[INFO] [stdout]    --> src/tests.rs:243:2
[INFO] [stdout]     |
[INFO] [stdout] 243 |     Scheduler::on_initialize(System::block_number());
[INFO] [stdout]     |     ^^^^^^^^^ use of undeclared type `Scheduler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests.rs:244:2
[INFO] [stdout]     |
[INFO] [stdout] 244 |     Democracy::begin_block(System::block_number());
[INFO] [stdout]     |     ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:261:46
[INFO] [stdout]     |
[INFO] [stdout] 261 |     AccountVote::Standard { vote: AYE, balance: Balances::free_balance(&who) }
[INFO] [stdout]     |                                                 ^^^^^^^^
[INFO] [stdout]     |                                                 |
[INFO] [stdout]     |                                                 use of undeclared type `Balances`
[INFO] [stdout]     |                                                 help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:265:46
[INFO] [stdout]     |
[INFO] [stdout] 265 |     AccountVote::Standard { vote: NAY, balance: Balances::free_balance(&who) }
[INFO] [stdout]     |                                                 ^^^^^^^^
[INFO] [stdout]     |                                                 |
[INFO] [stdout]     |                                                 use of undeclared type `Balances`
[INFO] [stdout]     |                                                 help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:269:50
[INFO] [stdout]     |
[INFO] [stdout] 269 |     AccountVote::Standard { vote: BIG_AYE, balance: Balances::free_balance(&who) }
[INFO] [stdout]     |                                                     ^^^^^^^^
[INFO] [stdout]     |                                                     |
[INFO] [stdout]     |                                                     use of undeclared type `Balances`
[INFO] [stdout]     |                                                     help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:273:50
[INFO] [stdout]     |
[INFO] [stdout] 273 |     AccountVote::Standard { vote: BIG_NAY, balance: Balances::free_balance(&who) }
[INFO] [stdout]     |                                                     ^^^^^^^^
[INFO] [stdout]     |                                                     |
[INFO] [stdout]     |                                                     use of undeclared type `Balances`
[INFO] [stdout]     |                                                     help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests.rs:277:2
[INFO] [stdout]     |
[INFO] [stdout] 277 |     Democracy::referendum_status(r).unwrap().tally
[INFO] [stdout]     |     ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 664 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pallet-democracy` due to 665 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "bac9b791c8d8c7ae6f875d71cde27a2aa9b03e29155c54325d0cee6d7e3e8cdc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bac9b791c8d8c7ae6f875d71cde27a2aa9b03e29155c54325d0cee6d7e3e8cdc", kill_on_drop: false }`
[INFO] [stdout] bac9b791c8d8c7ae6f875d71cde27a2aa9b03e29155c54325d0cee6d7e3e8cdc
